package com.cmse.service;

import java.util.List;

import com.cmse.persistence.domain.Artical;
import com.cmse.persistence.domain.ArticalComment;
import com.cmse.persistence.enmu.ArticalCategory;
import com.cmse.persistence.enmu.FetchOrderType;
import com.cmse.persistence.enmu.VerifyType;

/**
 * @author wulibin, exceptsky@gmail.com, 2012-3-15 下午12:53:12
 * 
 */
public interface IArticalService extends IBaseService<Artical>{
	public void addComment(long aid, ArticalComment comment);
	
	public long getCommentCount(long aid, VerifyType verifyType);
	
	public List<ArticalComment> getComments(long aid, int page, VerifyType verifyType);
	
	public List<Artical> getPage(int page, ArticalCategory category, FetchOrderType orderType);
	
	public long getCountByCategory(ArticalCategory category);
}
